package sicnu.cs.ich.api.domain.form;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 沈洋 邮箱:1845973183@qq.com
 * @create 2021/12/4-15:54
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CertParam extends PageParam{
    @NotNull(message = "typeId不能为空")
    private Integer typeId;
    @Max(1)
    @Min(-1)
    private Integer status;

}
